import { Action } from "./type";

export const incrementAction = (): Action => ({ type: "increment" });
export const decrementAction = (): Action => ({ type: "decrement" });
export const changeNameAction = (name: string): Action => ({ type: "changeName", payload: { name } });